package com.rnkrsoft.suyan.config.server.services.environment.services;


import com.rnkrsoft.suyan.config.server.services.environment.domains.*;

import javax.doc.annotation.ApidocInterface;
import javax.doc.annotation.ApidocService;

/**
 * Created by rnkrsoft on 2018/5/13.
 * 环境服务
 */
@ApidocService("环境服务")
public interface EnvironmentService {
    @ApidocInterface("创建环境")
    CreateEnvironmentResponse create(CreateEnvironmentRequest request);
    @ApidocInterface("更新环境")
    ToUpdateEnvironmentResponse toUpdate(ToUpdateEnvironmentRequest request);
    @ApidocInterface("更新环境")
    UpdateEnvironmentResponse update(UpdateEnvironmentRequest request);
    @ApidocInterface("删除环境")
    DeleteEnvironmentResponse delete(DeleteEnvironmentRequest request);
    @ApidocInterface("查看环境")
    ViewEnvironmentResponse view(ViewEnvironmentRequest request);
    @ApidocInterface("查询环境")
    QueryEnvironmentResponse query(QueryEnvironmentRequest request);
    @ApidocInterface("获取环境")
    FetchEnvironmentResponse fetch(FetchEnvironmentRequest request);
    @ApidocInterface("根据项目获取环境列表")
    ListEnvironmentByProjectResponse listEnvironmentByProject(ListEnvironmentByProjectRequest request);
}
